package com.shiwaixiangcun.monitor.service;

import com.shiwaixiangcun.core.service.BaseService;
import com.shiwaixiangcun.monitor.domain.WorkOrder;
import com.shiwaixiangcun.monitor.domain.WorkOrderServiceRecord;
import com.shiwaixiangcun.monitor.dto.WorkOrderServiceRecordDto;
import com.shiwaixiangcun.monitor.enums.WorkOrderServiceType;

import java.util.List;

/**
 * Created by Administrator on 2017/11/23.
 */
public interface WorkOrderServiceRecordService extends BaseService<WorkOrderServiceRecord, Long> {


    WorkOrderServiceRecord createServiceRecord(WorkOrder workOrder, WorkOrderServiceType type, String content);

    List<WorkOrderServiceRecordDto> getServiceRecordList(WorkOrder workOrder);

}
